/* 
 * File:   BSP_IntSer.h
 * Author: WCG
 *
 * Created on 20171009
 */

#ifndef BSP_INTSER_H
#define	BSP_INTSER_H









#define ADC1_CHANNEL					0x03
#define ADC_BACK_CHANNEL			0x04
#define ADC0_CHANNEL					0x05

#define PWM_PULSE							0x02
#define PWM_DAC								0x04

#define BLUE_LED							P22
#define GREEN_LED							P23
#define RED_LED								P04



#define	GREEN_LED_PIN					P05
#define	RED_LED_PIN						P06
#define	OUT_LED_PIN						P07

















void InitGPIO(void);
void InitPWM(void);
void PulseOut(void);
void StartAdcConvertion(uint8_t channel,uint8_t pulse);
#endif	

